import sqlite3 as sq
import pandas as pd

train_data = cursor.execute("select * from train_data")
merge_train_data = train_data.fetchall()
merge_train_data = pd.DataFrame(merge_train_data)
print(merge_train_data)